﻿@{ 
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "";
}
<script src="http://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
    $(function () {
        $.post("/api/test", {id:1,test:"aaa"});
    });
</script>